<div id="pricingTable">
    <table width="100%" border="0" class="">
        <tr class="odd">
            <th width="20%" scope="row">Package</th>
            <?php foreach ($products as $product): ?>
                <th width="<?php echo (80 / $productsCount); ?>%">
                    <?php echo $product->name; ?>
                </th>
            <?php endforeach; ?>
        </tr>
        <tr class="even">
            <th width="20%" scope="row">Price</th>
            <?php foreach ($products as $product): ?>
                <td width="<?php echo (80 / $productsCount); ?>%" class="products-price">
                    <em>$S</em><?php echo $product->price; ?>
                </td>
            <?php endforeach; ?>
        </tr>
        <tr class="odd">
            <th width="20%" scope="row">Credits</th>
            <?php foreach ($products as $product): ?>
                <td width="<?php echo (80 / $productsCount); ?>%" class="products-credits">
                    <em>$S</em><?php echo $product->credits_given; ?>
                </td>
            <?php endforeach; ?>
        </tr>
        <tr class="even">
            <th width="20%" scope="row">Gives you</th>
            <?php foreach ($products as $product): ?>
                <td width="<?php echo (80 / $productsCount); ?>%" class="products-givesyou">
                    <table class="pricingEstimateTable">
                        <tr>
                            <td class="align-right"><?php echo PsActionCost::getEstimate('newCase', $product->credits_given); ?></td>
                            <td><img src="//images/icons/fugue/folder.png" width="16" height="16" /></td>
                        </tr>
                        <tr>
                            <td class="align-right"><?php echo PsActionCost::getEstimate('sms', $product->credits_given); ?></td>
                            <td><img src="//images/icons/fugue/balloon-sms.png" width="16" height="16" /></td>
                        </tr>
                    </table>
                </td>
            <?php endforeach; ?>
        </tr>
    </table>
</div>